package com.tyk.bookstore.front.order.service;

import com.tyk.bookstore.front.order.model.dto.Order4PaymentDto;
import com.tyk.bookstore.front.order.model.dto.Order4PaymentRecordDto;
import com.tyk.bookstore.front.order.model.query.Order4PayNotifyQuery;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;


/**
 * @author tyk
 * @description 订单对内暴露接口
 */
public interface OrderApiService {

    /**
     * 获取订单金额
     */
    BigDecimal getOrderAmountById(Long orderId, String orderNo, Long memberId);

    /**
     * 订单支付成功通知订单模块
     */
    void payNotify(Order4PayNotifyQuery notifyQuery);

    /**
     * 查询订单信息
     */
    Order4PaymentDto getOrderWaitPay4PaymentDtoById(Long id, Long memberId);


    /**
     * 查询订单信息
     */
    Order4PaymentDto getOrderWaitPay4PaymentDtoById(Long id);

    /**
     * 查询订单编号
     */
    List<Order4PaymentRecordDto> getOrderNoListByIdSet(Set<Long> idSet);
}
